package homework.day03;

/**
 * @author ThinkBook
 */
public class Test04 {
    public static int setZero(int v,int n){
        int mask = ~(1 << (n-1));
        int t = mask & v;
        return t;
    }

    public static void main(String[] args) {
        int r = setZero(10,2);
        System.out.println("r: " + r);
    }

}
